<?php
    #-------------------------------------------------------------#
	# This file is part of the Kumomado - Virtual Window Platform #
	# for PHP. (c) 2009 Tsai, Min Che <tirme0812@gmail.com>       #
	# Please visit http://www.kumomado.org/ for more information. #
	#                                                             #
	# This software is licensed under the GNU License v3. Please  #
	# view the LICENSE file for the full text of this license.    #
    #-------------------------------------------------------------#

	/**
	 * @package libraries/route/
	 * @author Tsai, Min Che
	 * @version 1.0
	 */
	class KumomadoApplicationRoute extends KumomadoAbstractRoute {
		public function execute() {
			Kumomado::load('Application.KumomadoApplication');
			$app = $_GET['app'];
			$sub_app = $_GET['sub_app'];
			$method = $_GET['method'];
			$application = new KumomadoApplication($app, $sub_app, $method);
			$application->execute();
		}
	}
?>